<?php

namespace App\Http\Requests;


class RegisterRequest extends Request
{


    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            //
            'name' => "required|min:3|unique:users,name",
            'email' => "required|unique:users,email|email",
            "password" => "required|min:5|confirmed"
        ];
    }
}
